package com.senven.goods;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.transaction.annotation.EnableTransactionManagement;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 * @author: 郭家昊
 * @create: 2022/8/31 09:41
 **/
@SpringBootApplication
@MapperScan("com.senven.goods.mapper")
@EnableSwagger2
@EnableFeignClients
@EnableTransactionManagement //开启事务
public class GoodsApp {
    public static void main(String[] args) {
        SpringApplication.run(GoodsApp.class,args);
    }
}
